projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1a0e4b
)
Fix the clipboard test under X11
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 30 Apr 2021 12:02:35 +0000
(08:02 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 30 Apr 2021 12:02:35 +0000
(08:02 -0400)
We don't have a signal handler to worry about here.
testsuite/gdk/clipboard-client.c
patch
|
blob
|
history
diff --git
a/testsuite/gdk/clipboard-client.c
b/testsuite/gdk/clipboard-client.c
index 346bac2d7cee20cdf2f0a1970d44511730559a9f..c7ec50211150e71b258c4192ae6db7cdb103ac8b 100644
(file)
--- a/
testsuite/gdk/clipboard-client.c
+++ b/
testsuite/gdk/clipboard-client.c
@@
-189,7
+189,8
@@
do_it (GObject *object,
{
GdkClipboard *clipboard;
- g_signal_handler_disconnect (object, handler);
+ if (object)
+ g_signal_handler_disconnect (object, handler);
clipboard = gdk_display_get_clipboard (gdk_display_get_default ());